package org.luxor.commons.excel.exception;

import org.luxor.commons.core.exception.BaseException;
import org.luxor.commons.core.web.RestStatus;

/**
 * Excel数据导入导出功能异常
 *
 * @author Mr.yan @date 2020/2/3
 */
public class ExcelException extends BaseException {

    public ExcelException(String message) {
        super(message);
    }

    public ExcelException(String message, Throwable e) {
        super(message, e);
    }

    public ExcelException(Integer code, String message) {
        super(code, message);
    }

    public ExcelException(Integer code, String message, String error) {
        super(code, message, error);
    }

    public ExcelException(Integer code, String message, Throwable e) {
        super(code, message, e);
    }

    public ExcelException(RestStatus restStatus) {
        super(restStatus);
    }

    public ExcelException(RestStatus restStatus, String error) {
        super(restStatus, error);
    }

    public ExcelException(RestStatus restStatus, Throwable e) {
        super(restStatus, e);
    }

}
